/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-03-22 17:24:31
 * @LastEditors: voanit
 * @LastEditTime: 2022-03-22 18:37:19
 */
import { CHANNEL_NEWS } from '../actionTypes'
export default function news(state = [], action) {
  switch (action.type) {
    case CHANNEL_NEWS:
      return action.payload
    default:
      return state
  }
}
